package com.swt.draw.vo.page;

import lombok.Data;
import lombok.ToString;

/**
 * @ClassName
 * @Description 分页对象
 * @Author Administrator
 * @Date 2019/10/19 0019 21:43
 * @Version 1.0
 **/
public class PageVO {

    private int page;

    private int limit;

    private int start;

    private int end;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getEnd() {
        return end;
    }

    public void setEnd(int end) {
        this.end = end;
    }

    @Override
    public String toString() {
        return "PageVO{" +
                "page=" + page +
                ", limit=" + limit +
                ", start=" + start +
                ", end=" + end +
                '}';
    }
}
